/**
 * ===========================================================================
 * 版权所有 湖南免了么网络科技有限公司，并保留所有权利。
 * 网站地址: http://www.mianle.me
 * ===========================================================================
 * 10:29 2018/6/14
 */
package com.mianle.userapi.service;

import lombok.Data;

/**
 * @Author: yiyuan
 * @Description:
 * @Date: Created in 10:29 2018/6/14
 *
 */
@Data
public class Zhang extends Person{

    private String myAttr;

    public Zhang(String name, String sex, String myAttr) {
        super(name, sex);
        this.myAttr = myAttr;
    }

    public static void main(String[] args) {
        Zhang person = new Zhang("sdf", "sex", "df");
        System.out.println(person.getName() + person.getSex() + person.getMyAttr());
    }
}
